package treedemo;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 87111
 * Date: 2025-09-10
 * Time: 14:41
 */
public class Test {
    public static void main(String[] args) {
        BinaryTree tree = new BinaryTree();
        BinaryTree.TreeNode root = tree.createTree();
        tree.preOrder(root);
        System.out.println(tree.find(root,'B'));

    }
}
